翻訳と辞書
Words near each other
・ Apache Junction Unified School District
・ Apache Junction, Arizona
・ Apache Kafka
・ Apache Karaf
・ Apache Kid
・ Apache Kid (comics)
・ Apache Kid (disambiguation)
・ Apache Kid Wilderness
・ Apache Lake (Arizona)
・ Apache Lenya
・ Apache License
・ Apache Longbow
・ Apache Mahout
・ Apache Mall
・ Apache Marmotta
Apache Maven
・ Apache May Slaughter
・ Apache Mesos
・ Apache MINA
・ Apache Mobile Filter
・ Apache Muse
・ Apache MyFaces
・ Apache National Forest
・ Apache Ness
・ Apache Nugget Casino
・ Apache Nutch
・ Apache ODE
・ Apache OFBiz
・ Apache Oozie
・ Apache OpenEJB


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Apache Maven : ウィキペディア英語版
Apache Maven

Maven is a build automation tool used primarily for Java projects. The word ''maven'' means "accumulator of knowledge" in Yiddish.〔Suereth, Joshua and Farwell, Matthew. ''SBT in Action''. Manning Publications. 2015. ISBN 9781617291272〕 Maven addresses two aspects of building software: First, it describes how software is built, and second, it describes its dependencies. Contrary to preceding tools like Apache Ant, it uses conventions for the build procedure, and only exceptions need to be written down. An XML file describes the software project being built, its dependencies on other external modules and components, the build order, directories, and required plug-ins. It comes with pre-defined targets for performing certain well-defined tasks such as compilation of code and its packaging. Maven dynamically downloads Java libraries and Maven plug-ins from one or more repositories such as the Maven 2 Central Repository, and stores them in a local cache.〔(Maven 2 Central Repository )〕 This local cache of downloaded artifacts can also be updated with artifacts created by local projects. Public repositories can also be updated.
Maven can also be used to build and manage projects written in C#, Ruby, Scala, and other languages. The Maven project is hosted by the Apache Software Foundation, where it was formerly part of the Jakarta Project.
Maven is built using a plugin-based architecture that allows it to make use of any application controllable through standard input. Theoretically, this would allow anyone to write plugins to interface with build tools (compilers, unit test tools, etc.) for any other language. In reality, support and use for languages other than Java has been minimal. Currently a plugin for the .NET framework exists and is maintained,〔(.NET Maven Plugin )〕 and a C/C++ native plugin is maintained for Maven 2.〔(maven-native C/C++ plugin ) and (maven-nar C/C++ plugin )〕
Alternative technologies like gradle and sbt as build tools do not rely on XML, but keep the key concepts Maven introduced. With Apache Ivy, a dedicated dependency manager was developed as well that also supports Maven repositories.
==Example==
Maven projects are configured using a Project Object Model, which is stored in a pom.xml-file. Here's a minimal example:



4.0.0



com.mycompany.app
my-app
1.0







junit
junit
3.8.1



test





This POM only defines a unique identifier for the project (''coordinates'') and its dependency on the JUnit framework. However, that is already enough for building the project and running the unit tests associated with the project. Maven accomplishes this by embracing the idea of Convention over Configuration, that is, Maven provides default values for the project's configuration. The directory structure of a normal idiomatic Maven project has the following directory entries:
Then the command

mvn package

will compile all the Java files, run any tests, and package the deliverable code and resources into target/my-app-1.0.jar (assuming the artifactId is my-app and the version is 1.0.)
Using Maven, the user provides only configuration for the project, while the configurable plug-ins do the actual work of compiling the project, cleaning target directories, running unit tests, generating API documentation and so on. In general, users should not have to write plugins themselves. Contrast this with Ant and make, in which one writes imperative procedures for doing the aforementioned tasks.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Apache Maven」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.